//
//  ZLWCommentCell.m
//  EPA
//
//  Created by lanou3g on 16/4/25.
//  Copyright © 2016年 zlw. All rights reserved.
//

#import "ZLWCommentCell.h"

@interface ZLWCommentCell ()
@property (weak, nonatomic) IBOutlet UILabel *ContentLable;
@property (weak, nonatomic) IBOutlet UIImageView *IconImage;
@property (weak, nonatomic) IBOutlet UILabel *AuthLable;
@property (weak, nonatomic) IBOutlet UILabel *TimeLable;

@end

@implementation ZLWCommentCell

-(void)layoutSubviews
{
    self.ContentLable.text = self.model.content;
    [self.IconImage sd_setImageWithURL:[NSURL URLWithString:self.model.icon]];
    self.IconImage.layer.cornerRadius = 25;
    self.AuthLable.text = self.model.uname;
    self.TimeLable.text = self.model.addtime_f;
}

- (void)awakeFromNib {
    // Initialization code
}

- (void)setSelected:(BOOL)selected animated:(BOOL)animated {
    [super setSelected:selected animated:animated];

    // Configure the view for the selected state
}

@end
